package com.zzyl.service;

import com.aliyun.iot20180120.models.QueryDevicePropertyStatusRequest;
import com.aliyun.iot20180120.models.QueryThingModelPublishedRequest;
import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

public interface DeviceService {
    /**
     * 查询所有的设备数据
     */
    void syncProductList() throws Exception;

    List<ProductVo> allProductList();


    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> queryDevicePage(DevicePageQueryDto devicePageQueryDto);

    DeviceVo queryDeviceById(DeviceDto deviceDto);

    ResponseResult queryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);

    ResponseResult queryThingModelPublished(QueryThingModelPublishedRequest request);
}
